package com.TTBook.core.system.model;

import java.io.Serializable;

public class SysParams implements Serializable {
	private String innerName;

	private String outerName;

	private String value;
	
	private String type;

	private String status;

	private String memo;

	private static final long serialVersionUID = 1L;

	public String getInnerName() {
		return innerName;
	}

	public void setInnerName(String innerName) {
		this.innerName = innerName == null ? null : innerName.trim();
	}

	public String getOuterName() {
		return outerName;
	}

	public void setOuterName(String outerName) {
		this.outerName = outerName == null ? null : outerName.trim();
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value == null ? null : value.trim();
	}
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status == null ? null : status.trim();
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo == null ? null : memo.trim();
	}

	public boolean equals(Object that) {
		if (this == that) {
			return true;
		}
		if (!(that instanceof SysParams)) {
			return false;
		}
		SysParams other = (SysParams) that;
		return this.getInnerName() == null ? other == null : this
				.getInnerName().equals(other.getInnerName())
				&& this.getOuterName() == null ? other == null : this
				.getOuterName().equals(other.getOuterName())
				&& this.getValue() == null ? other == null
				: this.getValue().equals(other.getValue())
				&& this.getType() == null ? other == null
						: this.getType().equals(other.getType())
						&& this.getStatus() == null ? other == null : this
						.getStatus().equals(other.getStatus())
						&& this.getMemo() == null ? other == null : this
						.getMemo().equals(other.getMemo());
	}

	public int hashCode() {
		int hash = 23;
		if (getInnerName() != null) {
			hash *= getInnerName().hashCode();
		}
		if (getOuterName() != null) {
			hash *= getOuterName().hashCode();
		}
		if (getValue() != null) {
			hash *= getValue().hashCode();
		}
		if (getType() != null) {
			hash *= getType().hashCode();
		}
		if (getStatus() != null) {
			hash *= getStatus().hashCode();
		}
		if (getMemo() != null) {
			hash *= getMemo().hashCode();
		}
		return hash;
	}
}